package com.situ.stmall.front.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/user")
public class UserController {

    @GetMapping("/reg")
    public String reg(){
        return "user/reg";
    }

    //
    @PostMapping
    public String reg(String username,String password,@RequestParam("repassword") String rePassword){
        return "";
    }
}
